﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Niknak.Services.TaskScheduler.UI.Web
{
    /// <summary>
    /// See http://www.codegolem.com/post/UserControl-as-a-DLL-made-easy.aspx
    /// </summary>
    [AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
    public class MarkupControlEventAttribute : Attribute
    {
        public string EventName;
        public string EventHandler;

        public MarkupControlEventAttribute(string eventName, string eventHandler)
        {
            EventName = eventName;
            EventHandler = eventHandler;
        }
    }
}
